<template>
  <div id="centreRight1">
    <div class="bg-color-black">
      <div class="d-flex pt-2 pl-2">
        <span style="color: #5cd9e8;">
          <icon name="chart-line" />
        </span>
        <div class="d-flex">
          <span class="fs-xl text mx-2">维护组发电排行榜</span>
        </div>
      </div>
      <div class="d-flex jc-center body-box">
        <dv-scroll-board
          :config="config"
          style="width: 100%; height: 20.28rem;"
        />
      </div>
    </div>
  </div>
</template>

<script>
export default {
    data() {
        return {
            config: {
                header: ["组名",  "及时率"],
                data: [
                    ["宁明组1", "<span  class='colorGrass'>↑75%</span>"],
                    ["宁明组2", "<span  class='colorRed'>↓33%</span>"],
                    ["大新组3", "<span  class='colorGrass'>↑100%</span>"],
                    ["江州组4", "<span  class='colorGrass'>↑94%</span>"],
                    ["江州组5", "<span  class='colorGrass'>↑95%</span>"],
                    ["宁明组6", "<span  class='colorGrass'>↑63%</span>"],
                    ["江州组7", "<span  class='colorGrass'>↑84%</span>"],
                    ["宁明组8", "<span  class='colorRed'>↓46%</span>"],
                    ["江州组9", "<span  class='colorRed'>↓13%</span>"],
                    ["大新组10", "<span  class='colorGrass'>↑76%</span>"]
                ],
                rowNum: 7, //表格行数
                headerHeight: 35,
                headerBGC: "#0f1325", //表头
                oddRowBGC: "#0f1325", //奇数行
                evenRowBGC: "#171c33", //偶数行
                index: true,
                columnWidth: [50],
                align: ["center"]
            }
        };
    },
    mounted() {},
    methods: {}
};
</script>

<style lang="scss">
#centreRight1 {
    padding: 0.2rem;
    height: 22.4rem;
    min-width: 3.75rem;
    border-radius: 0.0625rem;
    .bg-color-black {
        height: 22.125rem;
        border-radius: 0.125rem;
    }
    .dv-scroll-board .rows .row-item {
        font-size: 10px !important;
    }
    .text {
        color: #c3cbde;
    }
    .body-box {
        border-radius: 0.125rem;
        overflow: hidden;
    }
}
</style>